Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bulletproof rewind functionality #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hansieodendaal
Copy link

This is closely modelled on Grin's solution, but using two private keys:

  • Interfaces:
    • create a rewindable ZK proof with up to 23 bytes additional embedded proof
      data
    • extract the value and 23 bytes proof data only
    • extract the value, blinding factor and 23 bytes proof data
  • Required:
    • two rewind nonces, based on two public rewind keys and the value
      commitment
    • two blinding nonces, based on the two private rewind keys and the value
      commitment
  • Use:
    • the two rewind nonces are used to extract the value and 23 bytes embedded
      proof data
    • the two rewind nonces and two blinding nonces are used to extract the
      value, blinding factor and 23 bytes embedded proof data

Please see related issue dalek-cryptography#335

Thanks!

This is closely modelled on Grin's solution, but using two private keys:
- Interfaces:
  - create a rewindable ZK proof with up to 23 bytes additional embedded proof
    data
  - extract the value and 23 bytes proof data only
  - extract the value, blinding factor and 23 bytes proof data
- Required:
  - two rewind nonces, based on two public rewind keys and the value
    commitment
  - two blinding nonces, based on the two private rewind keys and the value
    commitment
- Use:
  - the two rewind nonces are used to extract the value and 23 bytes embedded
    proof data
  - the two rewind nonces and two blinding nonces are used to extract the
    value, blinding factor and 23 bytes embedded proof data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant